package com.baidu.echarts;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.List;

public class XYAxis {
    @JsonProperty(index = 1)
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String name;

    @JsonProperty(index = 2)
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String type;

    @JsonProperty(index = 3)
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private List<String> data;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public List<String> getData() {
        return data;
    }

    public void setData(List<String> data) {
        this.data = data;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
